<?php
/**
 * Nweb Editor
 *
 * This script is protected by copyright. It's use, copying, modification
 * and distribution without written consent of the author is prohibited.
 *
 * @category    source
 * @package     pl.nweb.editor.model
 * @subpackage  entity
 * @author      Krzysztof Kardasz <krzysztof.kardasz@gmail.com>
 * @copyright   Copyright (c) 2011 Krzysztof Kardasz
 * @license     http://www.gnu.org/licenses/lgpl-3.0.txt  GNU Lesser General Public
 * @version     1.0 $Id$
 * @link        https://nweb-editor.googlecode.com
 * @link        http://editor.nweb.pl
 */

namespace pl\nweb\editor\model\entity;

/**
 * Encja: węzeł
 *
 * @category    source
 * @package     pl.nweb.editor.model
 * @subpackage  entity
 * @author      Krzysztof Kardasz <krzysztof.kardasz@gmail.com>
 * @copyright   Copyright (c) 2011 Krzysztof Kardasz
 * @version     1.0 $Id$
 */
class Node
{
    /**
     * Nazwa
     */
    const NAME = 'tbl_nde_node';

    /**
     * Atrybuty
     */
    const IELD_ID              = 'nde_id';
    const FIELD_LANGUAGE       = 'nde_language';
    const FIELD_PARENT_ID      = 'nde_parent_id';
    const FIELD_REDIRECT_ID    = 'nde_redirect_id';
    const FIELD_LFT            = 'nde_lft';
    const FIELD_RGT            = 'nde_rgt';
    const FIELD_PATTERN        = 'nde_pattern';
    const FIELD_PATTERN_CUSTOM = 'nde_pattern_custom';
    const FIELD_URL            = 'nde_url';
    const FIELD_URL_PART       = 'nde_url_part';
    const FIELD_URL_CUSTOM     = 'nde_url_custom';
    const FIELD_TYPE           = 'nde_type';
    const FIELD_CLASS          = 'nde_class';
    const FIELD_STATUS         = 'nde_status';
    const FIELD_OPTIONS        = 'nde_options';
    const FIELD_IS_VISIBLE     = 'nde_is_visible';
    const FIELD_CREATOR_ID     = 'nde_creator_id';
    const FIELD_MODIFIER_ID    = 'nde_modifier_id';
    const FIELD_CREATED        = 'nde_created';
    const FIELD_MODIFIED       = 'nde_modified';
}